import request from '../request'
//获取购物车数据
 export const getCarData=()=>{
    return request.get('/lejuClient/cart/findAllCartItem')
 }
 //删除购物车
 export const delCarItem=(id:string)=>{
   return request.post('/lejuClient/cart/delCartItems',id)
 }
 //点击结算 生成订单id
 export const preOrder=(data:any)=>{
   return request.post('/lejuClient/order/addPreOrder',data)
 }